<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>账号管理</title>
</head>
<body>
<article class="page-container">
    <form class="form form-horizontal" id="form-member" novalidate style="" enctype="multipart/form-data" >
        <div class="row cl">
            <label class="form-label col-sm-2">标题：</label>
            <div class="formControls col-sm-9">
                <select class="select radius lh-26" name="brandclass1" size="1" id="lunbotu" style="width: 130px;height:26px;" onchange="discount(this.value)" required >
                    <option value="" selected>请选择场景</option>
                </select>&nbsp;—
                <select class="select radius lh-26" name="brandclass" size="1" id="biaoti" style="width: 130px;height:26px;" required>
                    <option value="" selected>请选择二级场景</option>
                </select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2">*楼层：</label>
            <div class="formControls col-sm-9">
            <select class="select" name="brandclass" size="1" id="floor" style="width: auto;" required>
            </select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2">图片：</label>
            <div class="formControls col-sm-9">
                <img title="" src="../../../../static/h-ui.admin/images/20180302170728.png" class="mr-10" id="myImg" height="100px",width="100px" style="float: left">
                <input type="file" id="file" name="image"  onchange="changImg(event)" required style="display: none">
                <div class="formControls col-sm-9" style="float: left ; margin-top :33px;" >
                    <button id="pic" >点击上传</button>
                    <br>
                    <span style="color: #f00 ; line-height:40px;">场景图片大小限制为232*340</span>
                    </br>
                </div>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2">URL 地址：</label>
            <div class="formControls col-sm-9">
                <input type="text" class="input-text radius w-280" value="" placeholder="请输入图片链接的URL地址" id="url" name="urlpath">
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                <button  class="btn btn-primary radius" type="submit">&nbsp;&nbsp;保存&nbsp;&nbsp;</button><button onclick="removeIframe();" class="btn radius ml-10" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</article>

<!--footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../../../ht-js/operation-js/operation_resource/floor-js/floor_add.js?rev=@@hash"></script>
<script>
    $(function(){
        $("#form-member-add").validate({
            rules: {
                username: {
                    required: true,
                },
                inform: {
                    required: true,
                    maxlength: 80,
                },
                email:{
                    required: true,
                    email:true
                },
                moli:{
                    required: true,
                }
            },
            onkeyup: false,
            focusCleanup: true,
            success: "valid",
            submitHandler:function(form){
            }
        })
        web.loadMyk();
    });
    /*角色编辑*/
    function roles_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    $.validator.addMethod("titleCheck", function(value, element) {
        var tel = /^.{1,40}$/;
        return this.optional(element) || (tel.test(value));
    }, "输入有误");
</script>
<style>
    .error{
        color:#ff1b1b;
    }
    label.error {
        position: absolute;
        left: 310px;
        top: 5px;
        color: #ef392b;
        font-size: 12px;
    }
</style>
</body>
</html>